// src/router/staticRoutes.js
const staticRoutes = [
  {
    path: "/login",
    name: "Login",
    component: () => import("@/views/Login.vue"), // 登录页
  },
  {
    path: "/404",
    name: "NotFound",
    component: () => import("@/views/NotFound.vue"), // 404 页面
  },
  {
    path: "/:pathMatch(.*)*", // 匹配所有未定义的路由
    redirect: "/404", // 重定向到 404 页面
  },
];

export default staticRoutes;
